package com.echo.model.exception;

import com.echo.model.resq.response.base.ResultCode;

/**
 * @version: V1.0
 * @author: chentailai
 * @description: 异常转换
 * @className: ExceptionCast
 * @packageName: com.echo.model.exception
 * @data: 2020/3/26 17:14
 **/
public class ExceptionCast {

    public static void cast(ResultCode resultCode){
        throw new CustomException(resultCode);
    }
}
